<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8"/>
        <title>生成pdf</title>
        <style>
            body { font-family: "SimSun";  font-size: 16px; line-height: 1.5; color: #000;}
            .main-title { text-align: center; font-size:25px; color:#FF0000; }
             @page{ size:A3 landscape; }
        </style>
    </head>
    <body>
        <div class="main-title">${mainTitle}</div>
    </body>
</html>